package com.api.service;

import com.api.model.dto.interfacceInfo.InterfaceInfoAddDTO;
import com.api.model.dto.interfacceInfo.InterfaceInfoQueryDTO;
import com.api.model.dto.interfacceInfo.InterfaceInfoUpdateDTO;
import com.api.model.dto.interfacceInfo.VerifyInterfaceInfoDTO;
import com.api.model.entity.InterfaceInfo;
import com.api.model.reslut.ResultPage;
import com.api.model.vo.InterfaceInfoVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author haoshuai
* @description 针对表【interface_info(接口信息)】的数据库操作Service
* @createDate 2024-04-26 19:47:13
*/
public interface InterfaceInfoService extends IService<InterfaceInfo> {

    /**
     * 分页查询
     * @param interfaceInfoQueryDTO
     * @return
     */
    ResultPage<InterfaceInfoVo> getInterfaceInfoPage(InterfaceInfoQueryDTO interfaceInfoQueryDTO);

    /**
     * 根据id查询
     * @param id
     * @return
     */
    InterfaceInfoVo getInterfaceById(Integer id);

    /**
     * 添加
     * @param interfaceInfoAddDTO
     * @return
     */
    Boolean addInterfaceInfo(InterfaceInfoAddDTO interfaceInfoAddDTO);

    /**
     * 更新
     * @param interfaceInfoUpdateDTO
     * @return
     */
    Boolean updateInterfaceInfo(InterfaceInfoUpdateDTO interfaceInfoUpdateDTO);

    /**
     * 删除
     * @param id
     * @return
     */
    Boolean deleteInterfaceInfo(Integer id);

    Boolean verifyInterfaceInfo(VerifyInterfaceInfoDTO verifyInterfaceInfoDTO);

}

